#ifndef COMMON_H
#define COMMON_H

#include <opencv2/opencv.hpp>

#define OBJ_NUMB_MAX_SIZE 64

typedef struct _BOX_RECT
{
    int left;
    int right;
    int top;
    int bottom;
} BOX_RECT;

typedef struct _DetectionBox
{
    float score;
    std::string det_name;
    cv::Rect_<int> box;
} DetectionBox;

typedef struct _DetectionResultsGroup
{
    cv::Mat cur_img;
    int cur_frame_id;
    float fps;
    std::vector<DetectionBox> dets;
} DetectionResultsGroup;

#endif